package com.xiaoxin.dubbo.api;

import com.xiaoxin.model.domain.Question;

/**
 * @author xiaoxiaode
 * @date 2021-08-30-18:35
 **/
public interface QuestionApi {

    //根据用户id查询陌生人问题
    Question findByUserId(Long id);

    //保存
    void save(Question question1);

    //更新
    void update(Question question);
}
